self_dir=$(dirname $(readlink -f "$0"))
echo $(ifconfig | grep "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" -o | head -n 1) > $self_dir/ip_address.txt
